Emerging Trends and Future DirectionsIntroductionDeep learning has moved from specialised research laboratories into search, healthcare, finance, manufacturing, education, science and public administration. The current frontier is no longer defined only by deeper neural networks or higher benchmark scores. It is increasingly shaped by foundation models, multimodal learning, retrieval, autonomous tool use, privacy-preserving collaboration, synthetic data, specialised hardware and environmental constraints. These developments create substantial opportunities, but they also expose limitations. A large model may produce fluent but unsupported statements; an agent may execute an incorrect action at scale; synthetic data may reproduce hidden bias; and a model with excellent accuracy may be economically or environmentally unsustainable. Future AI professionals therefore require more than implementation skills. They must evaluate evidence, understand system boundaries, manage risk and recognise when a simpler or more interpretable method is preferable. This chapter critically examines major directions in deep learning and neural networks. It treats emerging systems as engineered socio-technical systems rather than isolated algorithms. Learning ObjectivesBy the end of this chapter, the reader should be able to: - Explain the architecture and capabilities of large and multimodal foundation models.
- Distinguish retrieval-augmented generation from ordinary parametric generation.
- Analyse agentic AI systems, including planning, tool use, memory and verification.
- Explain self-supervised, federated and synthetic-data approaches and their limitations.
- Compare conventional computing with neuromorphic approaches.
- Evaluate AI systems using accuracy, robustness, safety, fairness, latency, cost and energy.
- Identify open research, governance and deployment challenges.
1. From Task-Specific Models to Foundation ModelsA task-specific model is trained or fine-tuned for a relatively narrow objective, such as classifying images of defects. A foundation model is trained on broad and usually large-scale data and can be adapted to many downstream tasks. Language foundation models commonly use Transformer architectures, in which self-attention allows each token representation to incorporate information from other tokens. For a sequence of token representations collected in matrix X, a simplified self-attention operation is: Attention(Q, K, V) = softmax(QKᵀ / √dk)V Here, Q, K and V are query, key and value matrices; dₖ is the dimensionality of each key vector. The scaling term reduces excessively large dot products, which otherwise can make the softmax distribution overly concentrated. The formula assumes compatible matrix dimensions and is applied independently within attention heads in multi-head attention. Large language models are generally trained first with self-supervised objectives. In causal language modelling, the model estimates the probability of the next token given preceding tokens. For a token sequence x₁, …, xₜ, the training objective is commonly represented as: L = −∑ₜ log pθ(xₜ | x₍<ₜ₎) L is the negative log-likelihood loss, θ denotes model parameters, and x₍<ₜ₎ denotes preceding tokens. The objective does not directly teach truth, morality or grounded reasoning; it teaches statistical prediction from the training distribution. Capabilities and limitationsFoundation models offer: - transfer across tasks with little task-specific data;
- natural-language or multimodal interfaces;
- in-context learning through examples in a prompt;
- code generation, summarisation, translation and classification;
- adaptation through fine-tuning, instruction tuning or parameter-efficient methods.
Their weaknesses include hallucination, sensitivity to prompts, data contamination, uneven performance across populations, vulnerability to adversarial inputs and high computational cost. Scale often improves capability, but capability is not equivalent to reliability. A model can produce a persuasive explanation without possessing a dependable causal model of the world. Multimodal foundation modelsMultimodal models process two or more modalities, such as text, images, audio, video, sensor streams or structured data. A common design encodes each modality into representations and aligns them in a shared or interacting latent space. For example, an image encoder may produce visual tokens that a language decoder can attend to. Multimodality supports visual question answering, document understanding, medical image assistance, robotics and scientific analysis. However, modalities are not automatically fused into a coherent world model. Errors may arise from poor alignment, missing context, temporal ambiguity, low-quality sensors or misleading correlations. Evaluation should therefore test each modality independently and the interactions between modalities. 2. Retrieval-Augmented GenerationA foundation model stores statistical regularities in its parameters, but its knowledge may be outdated, incomplete or difficult to audit. Retrieval-augmented generation (RAG) adds an information-retrieval stage before generation. A typical pipeline is: - receive a user query;
- convert the query into an embedding or search representation;
- retrieve relevant documents or database records;
- rerank and filter the results;
- provide selected evidence to the generator;
- generate an answer with citations or provenance.
The retrieved context is external evidence rather than a permanent change to model parameters. RAG is especially useful for internal policies, technical manuals, legal documents, product catalogues and frequently changing information. Retrieval designDocuments are divided into chunks, embedded and indexed. Chunk size must balance context completeness against retrieval precision. Dense retrieval uses vector similarity, while sparse retrieval methods rely on lexical matching. Hybrid retrieval combines both and is often more robust for technical terms, identifiers and ordinary language. A production system should assess: - retrieval recall: whether relevant evidence was retrieved;
- ranking quality: whether useful evidence appears near the top;
- answer faithfulness: whether claims are supported by evidence;
- citation completeness: whether important claims are cited;
- latency, storage and update cost.
RAG does not eliminate hallucination. If retrieval returns irrelevant, contradictory or malicious content, the generator may still produce an incorrect answer. Prompt injection can also occur when untrusted documents contain instructions designed to manipulate the model. Access control, document provenance, content filtering and separation of instructions from evidence are essential. 3. Agentic AI and Tool-Using SystemsAn agentic AI system repeatedly observes a task state, reasons about possible actions and uses tools to pursue a goal. Tools may include search engines, databases, calculators, code interpreters, workflow systems or physical actuators. Unlike a single response model, an agent can plan, execute, inspect results and revise its behaviour. A useful abstract loop is: Goal → Plan → Select tool → Execute → Observe result → Verify → Continue or stop Important components include: - Planner: decomposes a task into subgoals.
- Policy or controller: selects the next action.
- Memory: stores conversation history, facts or prior episodes.
- Tool interface: defines permitted operations and input schemas.
- Verifier: checks outputs, constraints and completion conditions.
- Supervisor: limits permissions, cost, time and unsafe actions.
Agentic systems can automate multi-step research, customer service, software testing and business workflows. Nevertheless, autonomy introduces compounding error. If a sequence contains n independent steps, each with probability p of being correct, the probability that all steps are correct is pⁿ. This simplified model assumes independence and equal step accuracy; real systems may have correlated errors, verification and recovery, so it is not a general reliability law. Even with p = 0.98, ten unverified steps have approximate all-correct probability 0.98¹⁰ ≈ 0.817. This illustrates why verification matters. Safe agent design uses least-privilege permissions, sandboxing, transaction previews, human approval for high-impact actions, idempotent operations, rate limits and detailed logs. Agents should not be granted unrestricted access merely because they can formulate plausible plans. 4. Self-Supervised and Continual LearningSelf-supervised learning creates supervisory signals from the data itself. Examples include predicting masked tokens, reconstructing corrupted inputs, contrasting related and unrelated examples, predicting future frames or learning representations that remain stable under transformations. Its main advantage is reduced dependence on expensive human labels. Its limitation is that the pretext task may not produce representations suitable for every downstream objective. A model trained to predict text continuation may learn useful linguistic patterns but still fail at calibrated uncertainty or causal reasoning. Continual learning updates a model as new data arrive. The central challenge is catastrophic forgetting: performance on earlier tasks can decline after training on new tasks. Mitigation methods include replaying representative old data, regularising important parameters, using modular components and maintaining separate adapters. Continual learning also raises governance questions: when does an update change the model enough to require renewed validation, documentation or regulatory review? 5. Federated Learning and Privacy-Preserving AIFederated learning trains a shared model without centralising raw client data. In a basic round, a server distributes parameters, participating devices train locally and the server aggregates updates. A common aggregation rule is federated averaging: wₜ₊₁ = ∑ᵢ₌₁ᴷ (nᵢ / ∑ⱼ₌₁ᴷ nⱼ) wₜ₊₁⁽ⁱ⁾ wₜ₊₁ is the new global parameter vector, wₜ₊₁⁽ⁱ⁾ is client i’s locally updated vector, nᵢ is the number of local training examples on client i, and K is the number of participating clients. The weighting assumes that example counts are an appropriate contribution measure. Data may be non-identically distributed, clients may drop out, and local updates may be generated by different hardware and software environments. Federation reduces raw-data movement but does not guarantee privacy. Model updates can leak information, and a malicious client may poison training. Secure aggregation can hide an individual update from the server, while differential privacy adds calibrated noise. For a mechanism releasing a statistic f(D), a common Gaussian-noise form is: M(D) = f(D) + N(0, σ²I) D is the dataset, N(0, σ²I) is Gaussian noise with zero mean and covariance σ²I, and I is the identity matrix. The appropriate σ depends on sensitivity, privacy accounting, sampling and the desired privacy budget; it cannot be selected responsibly without those assumptions. More noise generally improves privacy but may reduce model utility. Federated learning is valuable in mobile keyboards, hospitals and industrial networks, but communication cost, device heterogeneity, incentive design, security and auditability remain substantial challenges. 6. Synthetic Data and Data-Centric DevelopmentSynthetic data are generated by simulators, probabilistic models, generative adversarial networks, diffusion models or language models. They can address data scarcity, protect sensitive information, create rare scenarios and support testing. In autonomous driving, for example, simulation can generate unusual weather or dangerous edge cases that are difficult to collect safely. Synthetic data are not automatically private or unbiased. A generator trained on personal data may memorise examples. A model trained only on synthetic outputs may experience distribution collapse or lose important real-world variation. Quality assessment should compare real and synthetic distributions, but similarity alone is insufficient. A useful evaluation asks: - Fidelity: Do individual records and relationships resemble reality?
- Utility: Does training on synthetic data improve the target task?
- Coverage: Are minority and rare cases represented?
- Privacy: Can individuals be reconstructed or identified?
- Validity: Do records obey domain constraints and physical laws?
Synthetic data should usually complement, not silently replace, carefully governed real data. Human and domain-expert review remains important for high-impact applications. 7. Neuromorphic Computing and Edge IntelligenceNeuromorphic computing seeks to emulate useful properties of biological nervous systems through event-driven computation, sparse communication and memory-compute proximity. Spiking neural networks represent information through discrete events, often called spikes, rather than continuously valued activations at every time step. A simple leaky integrate-and-fire neuron can be described conceptually by: τ dV/dt = −(V − Vrest) + R I(t) V is membrane potential, V_rest is resting potential, I(t) is input current, R is effective resistance and τ is a time constant. The equation applies to an idealised continuous subthreshold model; when V reaches a threshold, the neuron emits a spike and is reset according to the chosen model. Real hardware may implement this behaviour with approximations. Neuromorphic systems may reduce energy and latency for event-based sensors, robotics and always-on edge devices. Their challenges include programming difficulty, limited software ecosystems, training spiking networks, hardware variability and uncertain advantages for general-purpose workloads. They should be assessed using complete system energy and performance, not only the efficiency of an individual chip. 8. Sustainable AIAI sustainability has three dimensions: - Environmental: energy use, carbon emissions, water use and electronic waste.
- Economic: hardware, cloud, maintenance, inference and personnel costs.
- Social: accessibility, labour conditions, inclusion and distribution of benefits.
A basic energy estimate is: Etotal = Pavg × t E_total is energy, P_avg is average power and t is elapsed time, using consistent units. If power is measured in watts and time in hours, the result is watt-hours. Carbon emissions can be estimated as: C = Etotal × e where C is emissions, E_total is energy and e is a location- and time-dependent emissions factor. This estimate excludes or separately accounts for embodied hardware emissions, cooling, networking and infrastructure. Consequently, it is an approximation rather than a complete lifecycle assessment. Sustainable practice includes smaller models, pruning, quantisation, distillation, caching, efficient batching, renewable-energy-aware scheduling and model reuse. However, efficiency gains can cause rebound effects: lower inference cost may encourage much greater usage. Sustainability should therefore be reported per useful task, not only per training run. 9. Evaluation Beyond AccuracyContemporary systems require multidimensional evaluation. Relevant dimensions include: | Dimension | Typical question |
|---|
| Task performance | Does the system solve the intended task? | | Calibration | Do confidence scores correspond to actual correctness? | | Robustness | Does performance survive noise, distribution shift and attacks? | | Fairness | Are error rates and benefits acceptable across groups? | | Safety | Can the system cause foreseeable harm? | | Reliability | Does it behave consistently over repeated use? | | Efficiency | What are latency, memory, energy and monetary costs? | | Transparency | Can decisions, sources and limitations be inspected? |
For probabilistic predictions, calibration can be examined by comparing predicted confidence with observed frequency. If a group of predictions has confidence 0.8, approximately 80% should be correct for that group to be calibrated. Accuracy and calibration are distinct: a model may be accurate overall but badly calibrated. Evaluation must also include stress tests, red-team exercises, representative user studies and post-deployment monitoring. Benchmark performance alone cannot establish suitability for medical, legal, employment or safety-critical use. 10. Governance, Ethics and RegulationEmerging AI creates governance issues concerning privacy, intellectual property, discrimination, safety, explainability, accountability and concentration of computational resources. Foundation models may reproduce harmful stereotypes from training data. Generative systems complicate authorship and provenance. Agentic systems create uncertainty about responsibility when actions result from long chains of model decisions and tool calls. A practical governance process includes: - documenting intended use and prohibited use;
- identifying affected stakeholders and foreseeable harms;
- recording data sources, consent, licensing and retention;
- testing subgroup performance and accessibility;
- implementing human oversight proportional to risk;
- logging prompts, retrieved evidence, tool calls and model versions;
- monitoring incidents and providing appeal or correction mechanisms;
- conducting impact assessments before high-risk deployment.
Governance should be risk-based rather than purely technology-based. The same language model may be low-risk when drafting internal notes and high-risk when recommending medical treatment or determining employment eligibility. 11. Illustrative Case: A Federated Multimodal Clinical AssistantBackgroundConsider a fictional hospital network developing an assistant that analyses radiology images and clinical notes. Patient records cannot be freely centralised because of privacy, contractual and jurisdictional constraints. ProblemThe network wants to improve detection of uncommon conditions. Individual hospitals have too few examples, labels are inconsistent and patient populations differ. A central model may perform well at large hospitals but poorly at smaller or rural sites. AnalysisThe project combines multimodal learning, federated training and retrieval. The image encoder processes scans, the language component processes notes, and a retrieval layer accesses locally approved clinical guidelines. Risks include demographic performance gaps, leakage through updates, unsupported explanations and automation bias. Approach and solutionThe network first defines a narrow assistive use: prioritising cases for specialist review rather than making final diagnoses. Each site standardises labels and evaluates data quality. Federated training is conducted with secure aggregation and carefully documented participation. Differential privacy is considered after measuring its effect on sensitivity. Retrieval is restricted to versioned guidelines, and every recommendation displays supporting passages. A clinician must approve any escalation, while uncertain or out-of-distribution cases are routed for manual review. Evaluation includes sensitivity, specificity, calibration, subgroup analysis, false-negative review, latency and energy use. The system is piloted prospectively rather than judged only on historical data. OutcomeThe illustrative deployment improves triage consistency but does not eliminate specialist workload. Performance is weaker for rare conditions and sites with different scanners. The organisation therefore retains human review, periodically retrains the system and publishes limitations to users. Learning pointsThe case demonstrates that emerging techniques are complementary rather than magical. Federated learning addresses data movement, not all privacy risks. Multimodal input does not guarantee clinical understanding. Retrieval improves traceability but depends on document quality. The correct outcome may be safer prioritisation, not full automation. 12. Open Research Challenges and Future DirectionsSeveral research questions remain unresolved. Grounded reasoning: How can models combine language fluency with reliable causal, mathematical and physical reasoning? Uncertainty: How should systems express uncertainty when evidence is incomplete, conflicting or outside the training distribution? Long-horizon agents: How can agents plan over many steps while preventing error accumulation and unsafe side effects? Data governance: How can high-quality data be licensed, shared and compensated fairly, especially when data subjects are difficult to identify? Efficient adaptation: Can models learn new domains without expensive retraining or catastrophic forgetting? Evaluation science: Which tests predict real-world failure better than static benchmarks? How can evaluations resist contamination and gaming? Interpretability: Can explanations reveal mechanisms rather than merely provide plausible narratives? Robustness and security: How can models resist prompt injection, data poisoning, model theft and adversarial manipulation? Embodied intelligence: How can models connect perception, language and action while respecting physical constraints? Democratisation: How can capability be made broadly accessible without ignoring misuse, unequal infrastructure or concentration of power? Future progress is likely to involve hybrid systems: foundation models combined with retrieval, symbolic constraints, simulators, specialist models, human supervision and efficient hardware. The most valuable systems may not be the largest; they may be those that are dependable, auditable, affordable and appropriate for their context. Best Practices for AI Professionals- Define the decision and the affected stakeholders before selecting a model.
- Establish a baseline using the simplest adequate method.
- Separate development, validation and post-deployment monitoring.
- Treat retrieved content and generated content as distinct artefacts.
- Use least privilege for tools and require approval for consequential actions.
- Report subgroup performance, uncertainty, latency, cost and energy.
- Maintain model, data, prompt and retrieval version histories.
- Test distribution shift, adversarial inputs and realistic failure modes.
- Involve domain experts and affected users throughout development.
- Design for correction, rollback and safe shutdown.
Chapter SummaryFoundation models provide broad reusable capabilities, but their scale does not guarantee truth, fairness or reliability. Multimodal models extend interaction across text, images, audio and other signals while introducing alignment and evaluation challenges. Retrieval-augmented generation improves access to current and auditable information, although poor retrieval and prompt injection remain risks. Agentic AI adds planning and tool use, making permission control and verification essential. Self-supervised learning reduces labelling requirements, federated learning limits raw-data centralisation, and synthetic data can expand rare or sensitive examples. None of these approaches automatically solves privacy, bias or validity problems. Neuromorphic computing offers a possible route to efficient edge intelligence, while sustainable AI requires lifecycle thinking about energy, emissions, cost and social impact. The future of deep learning will depend on evaluation beyond accuracy, responsible governance, robust system design and research into grounded reasoning, uncertainty, continual learning, security and human-AI collaboration. Key TermsFoundation model: A broadly pretrained model adaptable to many downstream tasks. Multimodal model: A model that processes or aligns multiple data modalities. Self-attention: A mechanism that weights relationships among elements in a sequence. Self-supervised learning: Learning in which training targets are derived from the data itself. Retrieval-augmented generation: Generation conditioned on externally retrieved evidence. Embedding: A numerical vector representation of an object, document or input. Agentic AI: AI that can plan, act through tools and respond to observed outcomes. Tool use: Invocation of an external function, database, program or device by a model. Federated learning: Collaborative training in which raw client data remain local. Secure aggregation: A method allowing aggregate updates without revealing each individual update. Differential privacy: A formal framework limiting the influence of one record on an output. Synthetic data: Artificially generated data designed to resemble or simulate real data. Neuromorphic computing: Computing inspired by neural systems, often using event-driven hardware. Spiking neural network: A neural network that communicates through discrete spike events. Calibration: Agreement between predicted confidence and observed correctness. Distribution shift: Change between training conditions and deployment conditions. Prompt injection: Manipulation of a model through instructions embedded in input or retrieved content. Model drift: Degradation or change in performance as data, users or environments evolve. Sustainable AI: AI development that considers environmental, economic and social impacts. Human oversight: Deliberate human review, intervention or authority over an AI system. Review Questions5 Short Answer Questions- What distinguishes a foundation model from a task-specific model?
- Why does retrieval-augmented generation not eliminate hallucination?
- State two safeguards for agentic AI systems.
- What is the purpose of secure aggregation in federated learning?
- Name three dimensions of sustainable AI.
5 Long Answer Questions- Explain the architecture, benefits and limitations of multimodal foundation models.
- Describe a complete retrieval-augmented generation pipeline and its evaluation metrics.
- Discuss how self-supervised learning and continual learning address data and adaptation challenges.
- Compare federated learning with centralised training, including privacy and systems limitations.
- Explain why evaluating emerging AI systems requires more than accuracy.
3 Analytical / Application Questions- Design a safe agentic workflow for processing customer refund requests. Identify tools, permissions, verification stages and human escalation points.
- A hospital wants to train a model across five institutions without centralising patient records. Propose a federated and governance architecture, including risks and evaluation measures.
- Compare a large general model, a smaller specialist model and a retrieval-augmented system for an internal technical-support application. Recommend one and justify the decision using accuracy, cost, latency, privacy and maintainability.
Multiple Choice Questions with AnswersQuestion 1Which statement best describes a foundation model? A. A model trained only for one fixed classification task B. A broadly pretrained model that can be adapted to multiple tasks C. A hardware device designed for event-based computation D. A database containing only labelled examples Correct Answer: B. A broadly pretrained model that can be adapted to multiple tasks Question 2What is the primary role of retrieval in retrieval-augmented generation? A. To permanently increase the model's parameter count B. To replace the language model with a database C. To provide external, relevant evidence at generation time D. To guarantee that every generated statement is true Correct Answer: C. To provide external, relevant evidence at generation time Question 3Which safeguard is most appropriate for an agent that can issue financial transactions? A. Unlimited permissions to reduce latency B. Human approval and transaction limits for consequential actions C. Removing all logs after execution D. Allowing retrieved documents to redefine system permissions Correct Answer: B. Human approval and transaction limits for consequential actions Question 4In federated averaging, client updates are commonly weighted by: A. The alphabetical order of client names B. The number of local training examples C. The colour of the client interface D. The length of the model's prompt Correct Answer: B. The number of local training examples Question 5What is a principal limitation of synthetic data? A. It can never be generated by neural networks B. It may reproduce bias or fail to represent real-world variation C. It always exposes the identities of every real person D. It cannot represent rare scenarios Correct Answer: B. It may reproduce bias or fail to represent real-world variation Question 6A model whose confidence scores closely match observed correctness is described as: A. Calibrated B. Quantised C. Federated D. Neuromorphic Correct Answer: A. Calibrated Question 7For ten independent steps each correct with probability 0.98, the probability that all steps are correct is approximately: A. 0.20 B. 0.50 C. 0.82 D. 0.98 Correct Answer: C. 0.82 Question 8Which feature is most characteristic of neuromorphic computing? A. Event-driven computation and sparse communication B. Mandatory centralisation of all raw data C. Exclusive use of text tokens D. Elimination of hardware variability Correct Answer: A. Event-driven computation and sparse communication Question 9If average power is 200 W for 3 hours, the energy consumed is: A. 60 Wh B. 203 Wh C. 600 Wh D. 6,000 Wh Correct Answer: C. 600 Wh Question 10Why is accuracy alone insufficient for evaluating a high-impact AI system? A. Accuracy cannot be measured on any dataset B. It does not reveal calibration, subgroup harms, robustness, cost or safety C. Accuracy is relevant only to hardware systems D. It automatically measures environmental impact Correct Answer: B. It does not reveal calibration, subgroup harms, robustness, cost or safety
|