Dynamic security assessment (DSA) of power systems has long been a critical pillar for ensuring uninterrupted energy supply. Traditionally, DSA relies on models trained with large volumes of labeled data — a luxury not always available to operators. However, a recent breakthrough in tabular foundation models (TFM) promises to change the rules, drastically reducing data requirements and eliminating the dependence on contingency-specific classifiers. This approach not only accelerates real-time assessments but also opens the door to a new generation of intelligent tools for grid operations.
The proposal, presented in the scientific article arXiv:2607.16031, introduces a foundation model that learns in context — that is, without retraining or hyperparameter tuning. With only 120 labeled samples per contingency — two orders of magnitude less than usual — it achieves an average Macro F1 score of 90%. Even for unseen contingencies, with just 10 labeled samples, its performance matches transfer learning models that require full datasets. This transforms how energy companies approach cybersecurity and infrastructure stability.
At Q2BSTUDIO, we understand that these advances are relevant not only for the power sector but for any industry needing dynamic risk assessment with limited data. That is why we offer custom software development that integrates tabular foundation models, enabling our clients to deploy predictive analytics systems without the traditional costs of massive data collection and labeling. Our expertise in artificial intelligence allows us to adapt these architectures to domains such as logistics, finance, or manufacturing.
The key to these models lies in using electrical distance coordinates (EDC) as continuous features. When applied correctly, these coordinates enable the model to generalize to never-before-seen contingencies. This principle mirrors what we do at Q2BSTUDIO when designing AI agents that learn in context for classification and regression tasks. Instead of training a model for every scenario, our systems adapt on the fly, reducing costs and improving resilience.
But the revolution does not stop there. Integrating these models with cloud platforms like AWS and Azure allows processing to scale to system-wide levels. At Q2BSTUDIO, we help our clients migrate their DSA workloads to the cloud, harnessing resource elasticity to run parallel assessments. Moreover, we combine this capability with Power BI solutions to visualize dynamic security levels in real time, facilitating strategic decision-making.
Cybersecurity is another area where these models make a difference. By detecting unfamiliar contingencies with few examples, they bolster defenses against cyber attacks targeting critical infrastructure. At Q2BSTUDIO, we offer cybersecurity services that incorporate artificial intelligence to identify anomalous patterns in real time, protecting both power grids and enterprise systems.
From a business perspective, adopting tabular foundation models represents an opportunity to democratize access to artificial intelligence. Small and medium enterprises can now benefit from dynamic security assessments without needing large data science teams. The key lies in these models' ability to learn contextually, requiring only a few labeled examples. This lowers the entry barrier and enables faster, more efficient automation solutions.
The study on the IEEE 68-bus system shows that a single foundation model can evaluate multiple contingencies simultaneously, eliminating the need for one classifier per contingency. This greatly simplifies maintenance and updates of DSA systems. In practice, companies already working with us have seen that implementing this approach reduces operational costs by 40% and speeds up response times during network events.
Q2BSTUDIO not only keeps a close watch on these innovations but integrates them into our cloud AWS/Azure offerings. We provide production-ready environments to run these models, with data pipelines ensuring quality and privacy. Additionally, our BI and Power BI experts create interactive dashboards that allow operators to view network status and stability predictions in real time.
Looking ahead, combining tabular foundation models with autonomous AI agents will open new frontiers in energy management. Imagine systems that not only assess security but also take corrective actions autonomously, coordinating with other agents in the grid. At Q2BSTUDIO, we are already working on prototypes integrating these concepts, leveraging our expertise in AI to create virtual assistants that help operators make informed decisions.
In summary, the revolution in dynamic security with tabular foundation models is not just an academic promise but a reality already transforming the industry. At Q2BSTUDIO, we combine this knowledge with our ability to develop custom software, cloud solutions, and artificial intelligence tools to provide our clients with a real competitive edge. If you would like to explore how these technologies can apply to your business, feel free to contact us.





