# US 2026/0170369 A1 · Multi-task collaborative attention tsk fuzzy system modeling method for fermented food safety assessment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0170369 A1
- Document ID: US20260170369A1
- Status: Published application
- Kind: A1
- Application number: 19/026,599
- Filed: 2025-01-17
- Published: 2026-06-18
- Earliest claimed: 2024-12-13
- Assignees: Jiangnan University
- Applicants: Jiangnan University
- Inventors: ZhaoHong DENG; ZhuangZhuang ZHAO; ChenXi LUO; ShiTong WANG
- Web page: https://patentgrep.com/patent/US20260170369A1

## CPC

- G06N 3/043: based on fuzzy logic, fuzzy membership or fuzzy inference, e.g. adaptive neuro-fuzzy inference systems [ANFIS]
- G06N 7/023: {Learning or tuning the parameters of a fuzzy system}
- G06N 3/045: Combinations of networks
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/045: Explanation of inference; Explainable artificial intelligence [XAI]; Interpretable artificial intelligence
- G06N 5/048: Fuzzy inferencing
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 7/02: using fuzzy logic (computing arrangements based on biological models G06N3/00; computing arrangements using knowledge-based models G06N5/00)
- G06N 20/00: Machine learning
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- Y02P 90/30: Computing systems specially adapted for manufacturing
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

The present invention belongs to the field of intelligent computing, and specifically relates to a multi-task collaborative attention TSK fuzzy system modeling method, which is used to provide an interpretable multi-task intelligent evaluation model for fermentation food safety assessment. The method includes two main parts: a new multi-task TSK fuzzy system model structure and a multi-task collaborative optimization process. In the intelligent evaluation model, the proposed multi-task collaborative processing unit is used to perform collaboration among multiple evaluation tasks. By using the multi-task feature selection layer and task attention structure respectively to extract the unique information of each task and the relevant information between tasks, the evaluation performance of each evaluation task can be better improved. In the collaborative optimization process, the present invention uses multi-task collaborative regularization to achieve more efficient mining and utilization of the unique information of each task.

## Claims

### Claim 1

A multi-task collaborative attention TSK fuzzy system modeling method for fermented food safety assessment, comprising the following steps:
step 1: identifying the multi-task dataset
{
X
k
∈
i
N
k
×
D
,
y
k
∈
i
N
k
}
k
=
1
K
for fermented food safety assessments, consisting of K tasks, where each task has the same feature dimension D, and the number of samples for each task is Nk; and
step 2: based on the number of tasks and the feature dimensions in the dataset, determining the number of rules R for the TSK fuzzy system, defining the basic structure of the multi-task fuzzy rules and construct and initialize the MTCA_TSK model, comprising:
step 2.1, defining the structure of the multi-task fuzzy rules:
the rule antecedents use a set of fuzzy sets based on Gaussian membership functions, while the rule consequents use a multi-task collaborative processing unit
f
MT
-
CoPU
r
(
x
)
,
the output of the fuzzy rule antecedent is computed as follows:
φ
r
(
x
)
=
exp
⁡
(
-
∑
d
=
1
D
(
x
d
-
c
d
r
)
2
2
⁢
σ
d
r
)
(
1
)
the output of the fuzzy rule consequent is computed as follows:
y
r
=
f
MT
-
CoPU
r
(
x
)
(
2
)
step 2.2, the structure of multi-task collaborative processing unit
f
MT
-
CoPU
r
(
x
)
as follows:
the multi-task collaborative processing unit
f
MT
-
CoPU
r
(
x
)
consists of a multi-task feature selection layer, a task collaboration attention structure, and decision-makers corresponding to each task; and
step 2.3, initializing model parameters:
determining the number of fuzzy rules R, using K-means clustering to determine the antecedent parameters
c
d
r
of each multi-task fuzzy rule, initializing the antecedent parameter
σ
d
r
to 1, initializing all parameters in the consequent using uniform distribution U(0,1);
step 3: constructing the objective function of the multi-task TSK fuzzy system and optimize the model; and
step 4: obtaining the final evaluation result of the multi-task TSK fuzzy system.

### Claim 2 (depends on 1)

The multi-task collaborative attention TSK fuzzy system modeling method for fermented food safety assessment of claim 1, wherein the step 3 comprises:
constructing the objective function of the multi-task TSK fuzzy system, the formula is as follows:
J
⁡
(
W
*
)
=
∑
k
=
1
K

y
k
-
y
^
k

F
2
+
∑
r
=
1
R
(
α
⁢

W
r

2
,
1
+
β
⁢

W
r

1
,
1
)
(
7
)
where ŷk is the evaluation result of the dataset Xk of the k-th task on the multi-task fuzzy system;
taking formula (7) as the objective function, the AdamW optimizer is selected and the mini-batch gradient descent (MBGD) method is used to optimize the proposed multi-task fuzzy system model to obtain the optimal solution of the model parameters.

### Claim 3 (depends on 1)

The multi-task collaborative attention TSK fuzzy system modeling method for fermented food safety assessment of claim 1, wherein the step 4 comprises:
according to the following formula, the evaluation process of the multi-task fuzzy system for the input xϵXk is obtained:
y
^
=
∑
r
=
1
R
⁢
φ
r
(
x
)
⁢
y
r
∑
s
=
1
R
⁢
φ
s
(
x
)
.
(
8
)

### Claim 4 (depends on 1)

The multi-task collaborative attention TSK fuzzy system modeling method for fermented food safety assessment of claim 1, wherein the step 2.2 comprises:
in the multi-task collaborative processing unit
f
MT
-
CoPU
r
(
x
)
:
step 2.2.1, using the multi-task feature selection layer, the discriminative features HrϵjK×D for each task are extracted from the input x using the following equation:
H
r
=
[
h
1
:
r
;
h
2
:
r
;
L
;
h
K
:
r
]
=
norm
⁡
(
[
xew
r
,
:
1
T
;
xew
r
,
:
2
T
;
L
;
xew
r
,
:
K
T
]
)
(
3
)
where WrϵjD×K is the multi-task feature selection matrix, and the k-th column
w
r
,
:
k
T
is used to extract the discriminative features
xew
r
,
:
k
T
for the k-th task, where e denotes the Hadamard product, wherein the norm refers to the BatchNorm layer used to maintain the numerical scale of the discriminative features;
step 2.2.2, using task attention structure, the aggregated features for each task are extracted using the following equation:
g
k
:
r
=
∑
t
=
1
K
E
⁡
(
h
k
:
r
,
h
t
:
r
)
·
(
h
t
:
r
⁢
V
r
)
∑
s
=
1
K
E
⁡
(
h
k
:
r
,
h
s
:
r
)
(
4
)
E
⁡
(
h
s
:
,
h
t
:
)
=
exp
⁡
(
-

h
s
:
⁢
P
r
-
h
t
:
⁢
P
r

2
hD
k
)
(
5
)
where VrϵjDλDv is the feature mapping matrix that maps the discriminative features from the D-dimensional space to the Dv-dimensional target space, PrϵjD×Dk is also a feature mapping matrix, and Dk is the dimension of the mapped features;
step 2.2.3, based on the obtained discriminative features and aggregated features, the output of the multi-task collaborative processing unit is computed as:
f
MT
-
CoPU
r
(
x
)
=
{
h
1
:
r
⁢
b
:
1
r
+
g
1
:
r
⁢
q
:
1
r
,
x
∈
X
1
h
2
:
r
⁢
b
:
2
r
+
g
k
:
r
⁢
q
:
2
r
,
x
∈
X
2
M
M
h
K
:
r
⁢
b
:
K
r
+
g
K
:
r
⁢
q
:
K
r
,
x
∈
X
K
.
(
6
)
